using UnityEngine;

public class Map : MonoBehaviour
{
	public int id;

	public int backgroundID;

	public Transform[] spawnPosition;

	public float[] zPos;
	public TweenPosition tweener;
	void Awake()
	{
		for (int i = 0; i < spawnPosition.Length; i++)
		{
			spawnPosition[i].localPosition = new Vector3(spawnPosition[i].localPosition.x, spawnPosition[i].localPosition.y, zPos[i]);
		}
	}
	private void OnDrawGizmos()
	{
		if (spawnPosition.Length >= 4)
		{
			Gizmos.color = new Color32(241, 110, 108, byte.MaxValue);
			Gizmos.DrawWireSphere(spawnPosition[0].position, 0.5f);
			Gizmos.color = new Color32(237, 190, 40, byte.MaxValue);
			Gizmos.DrawWireSphere(spawnPosition[1].position, 0.5f);
			Gizmos.color = new Color32(145, 194, 98, byte.MaxValue);
			Gizmos.DrawWireSphere(spawnPosition[2].position, 0.5f);
			Gizmos.color = new Color32(90, 163, 204, byte.MaxValue);
			Gizmos.DrawWireSphere(spawnPosition[3].position, 0.5f);
		}
	}
}
